package cn.wenhe9.novel.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author DuJinliang
 * 2022/5/18
 */
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "wenhe9.thread")
public class ThreadPoolConfigProperties {
    private Integer coreSize;

    private Integer maxSize;

    private Integer keepAliveTime;
}
